﻿namespace HutongGames.PlayMaker
{
    using System;
    using UnityEngine;

    public class FsmEventData
    {
        public bool BoolData;
        public Color ColorData;
        public NetworkConnectionError ConnectionError;
        public NetworkDisconnection DisconnectionInfo;
        public float FloatData;
        public int IntData;
        public UnityEngine.MasterServerEvent MasterServerEvent;
        public Material MaterialData;
        public UnityEngine.NetworkMessageInfo NetworkMessageInfo;
        public UnityEngine.Object ObjectData;
        public NetworkPlayer Player;
        public Quaternion QuaternionData;
        public Rect RectData;
        public FsmStateAction SentByAction;
        public Fsm SentByFsm;
        public FsmState SentByState;
        public string StringData;
        public Texture TextureData;
        public Vector3 Vector3Data;

        public FsmEventData()
        {
        }

        public FsmEventData(FsmEventData source)
        {
            this.SentByFsm = source.SentByFsm;
            this.SentByState = source.SentByState;
            this.SentByAction = source.SentByAction;
            this.BoolData = source.BoolData;
            this.IntData = source.IntData;
            this.FloatData = source.FloatData;
            this.Vector3Data = source.Vector3Data;
            this.StringData = source.StringData;
            this.QuaternionData = source.QuaternionData;
            this.RectData = source.RectData;
            this.ColorData = source.ColorData;
            this.ObjectData = source.ObjectData;
            this.MaterialData = source.MaterialData;
            this.TextureData = source.TextureData;
            this.Player = source.Player;
            this.DisconnectionInfo = source.DisconnectionInfo;
            this.ConnectionError = source.ConnectionError;
            this.NetworkMessageInfo = source.NetworkMessageInfo;
            this.MasterServerEvent = source.MasterServerEvent;
        }
    }
}

